home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / FLTK-1.0.6 / test / resize.fl < prev    next >
Encoding:
Text File  |  1998-10-06  |  1.2 KB  |  49 lines

  1. # data file for FL User Interface Designer (fluid)
  2. version 0.99 
  3. gridx 10 
  4. gridy 10 
  5. snap 3
  6. Function {} {open
  7. } {
  8.   Fl_Window {} {open selected
  9.     xywh {490 248 366 261} resizable
  10.   } {
  11.     Fl_Button {} {
  12.       label {@<-}
  13.       callback {Fl_Window* w = o->window();
  14. w->position(w->x()-50,w->y());} open
  15.       xywh {20 40 40 40} labeltype 2
  16.     }
  17.     Fl_Button {} {
  18.       label {@2->}
  19.       callback {Fl_Window* w = o->window();
  20. w->position(w->x(),w->y()+50);} open
  21.       xywh {60 80 40 40} labeltype 2
  22.     }
  23.     Fl_Button {} {
  24.       label {@->}
  25.       callback {Fl_Window* w = o->window();
  26. w->position(w->x()+50,w->y());} open
  27.       xywh {100 40 40 40} labeltype 2
  28.     }
  29.     Fl_Button {} {
  30.       label {@8->}
  31.       callback {Fl_Window* w = o->window();
  32. w->position(w->x(),w->y()-50);} open
  33.       xywh {60 0 40 40} labeltype 2
  34.     }
  35.     Fl_Button {} {
  36.       label grow
  37.       callback {Fl_Window* w = o->window();
  38. w->size(w->w()+50, w->h()+50);} open
  39.       xywh {30 130 110 40} labeltype 2 labelfont 1 labelsize 18
  40.     }
  41.     Fl_Button {} {
  42.       label shrink
  43.       callback {Fl_Window* w = o->window();
  44. w->size(w->w()/2+1, w->h()/2+1);} open
  45.       xywh {30 190 110 40} labeltype 2 labelfont 1 labelsize 18
  46.     }
  47.   }
  48.